<% if (obj.totalElements !== 0) { %>
<div class="uk-overflow-container c1-table-1">
    <table class="pure-table uk-table uk-table-hover uk-table-striped uk-table-condensed uk-margin-small-bottom">
        <thead>
        <tr>
            <th><input type="checkbox" data-toggle="checkboxJoin" data-target="input[name='${(businessCode?uncap_first)!''}Id']" name="all-${(businessCode?uncap_first)!''}Id"></th>
            <th><%=obj.i18n_department%><%=obj.i18n_name%>:<%=obj.i18n_department%><%=obj.i18n_no%></th>
            <th><%=obj.i18n_name%>:<%=obj.i18n_no%></th>
            <th><%=obj.i18n_begin_date%></th>
            <th><%=obj.i18n_end_date%></th>
            <th><%=obj.i18n_flag%></th>
            <th><%=obj.i18n_state%></th>
            <th><%=obj.i18n_data_state%></th>
        </tr>
        </thead>
        <tbody>
        <% _.each(obj.datas, function(data) { %>
        <tr data-id="<%=data.${(businessCode?uncap_first)!''}Id%>" data-name="<%=data.name%>" data-${(businessCode?uncap_first)!''}-code="<%=data.${(businessCode?uncap_first)!''}Code%>">
            <td class="span-1"><input type="checkbox" name="${(businessCode?uncap_first)!''}Id" data-toggle="checkboxJoin" data-all-target="input[name='all-${(businessCode?uncap_first)!''}Id']" value="<%=data.${(businessCode?uncap_first)!''}Id%>"></td>
            <td><%=data.departmentTreeName%>:<%=data.departmentTreeCode%></td>
            <td><%=data.name%>:<%=data.${(businessCode?uncap_first)!''}Code%></td>
            <td><%=data.beginDate%></td>
            <td><%=data.endDate%></td>
            <td><%=data.flagName%>:<%=data.flagCode%></td>
            <td><%=data.stateName%>:<%=data.stateCode%></td>
            <td><%=data.dataStateName%>:<%=data.dataStateCode%></td>
        </tr>
        <% }); %>
        </tbody>
    </table>
</div>
<% } %>